package com.aofeng.hybridwork.application;

import com.aofeng.hybrid.application.AFApplication;
import java.io.File;
import java.net.URLEncoder;

public class HybridApplication  extends AFApplication {
	
	public static String LOCAL_PATH_PREFIX = "file:///data/data/com.aofeng/";
	public static String REMOTE_WWW_PREFIX = "e:\\www\\";
	public static String REMOTE_BZ_PREFIX = "G:\\sync-server\\src\\test\\resources\\";
	public static String DIR_LIST_SERVICE_URL = "http://10.10.151.153:8080/rs/dir?path=";
	public static String DB_META_SERVICE_URL = "http://10.10.151.153:8080/rs/db/meta/";
	public static String FILE_SERVICE_URL = "http://10.10.151.153:8080/rs/dir/";
	public static String UPDATE_SERVICE_URL = "http://10.10.151.153:8080/rs/db/one/" + URLEncoder.encode("from t_singlevalue where name='hybrid_version'").replace("+", "%20");
	
	public static String APP_ID = "com.aofeng.hybridwork";

    public void onCreate() {
        super.onCreate();
		LOCAL_PATH_PREFIX = getFilesDir().getAbsolutePath()+ File.separator;
    }

}
